home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / X11 / Xsession.d / 75dbus_dbus-launch < prev    next >
Text File  |  2008-10-07  |  381b  |  18 lines

  1. # $Id:$
  2. # In order to activate the session bus at X session launch
  3. # simply place use-session-dbus into your /etc/X11/Xsession.options file
  4. #
  5.  
  6. STARTDBUS=
  7. DBUSLAUNCH=/usr/bin/dbus-launch
  8.  
  9. if grep -qs ^use-session-dbus "$OPTIONFILE"; then
  10.   if [ -x "$DBUSLAUNCH" ]; then
  11.     STARTDBUS=yes
  12.   fi
  13. fi
  14.  
  15. if [ -n "$STARTDBUS" ]; then
  16.   STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
  17. fi
  18.